package com.sikaryofficial.backend.domain.dto.req.prize;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sikaryofficial.common.core.web.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 礼品列表请求入参
 *
 * @author qinjinyuan
 * @date 2023-10-30
 */
@Getter
@Setter
@ToString
@ApiModel(value = "礼品列表请求入参", description = "礼品列表请求入参")
public class PrizeListReq extends PageDomain {

    @ApiModelProperty(value = "奖品ID")
    private String prizeId;

    /**
     * 奖品品牌
     */
    @ApiModelProperty(value = "奖品品牌")
    private String prizeBrand;

    /**
     * 奖品名称
     */
    @ApiModelProperty(value = "奖品名称")
    private String prizeName;

    /**
     * 创建-开始时间
     */
    @ApiModelProperty(value = "创建-开始时间", example = "2023-11-21 19:30:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 创建-开始时间
     */
    @ApiModelProperty(value = "创建-结束时间", example = "2023-11-22 19:30:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 是否现金支付 0-否 1-是，默认0-否
     */
    @ApiModelProperty(value = "是否现金支付 0-否 1-是，默认0-否")
    private Integer hasCash;

}
